home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / text / manipulation / cv.lha / cv / cvt / Makefile < prev    next >
Encoding:
Makefile  |  1994-01-12  |  1.1 KB  |  69 lines

  1. # CV Makefile for the GNU C/C++ Compiler on the Commodore Amiga
  2. # (c)Copyright 1991-93 by Tobias Ferber,  All Rights Reserved
  3.  
  4. CC=gccv
  5.  
  6. DEFINES=
  7. CFLAGS= -O $(DEFINES)
  8.  
  9. LIBS= -L/usr/os-lib
  10.  
  11. # *** / ALL / ***
  12.  
  13. .PHONY: all
  14.  
  15. all: cvt
  16.  
  17.  
  18. # *** / CVT / ***
  19.  
  20. CVT_OBJS=\
  21.     main.o args.o flist.o rules.o cvtparse.o cvt.o \
  22.     echo.o numdigits.o tfname.o filecopy.o
  23.  
  24. cvt: $(CVT_OBJS)
  25.     $(CC) $(CFLAGS) $(LIBS) -o $@ $(CVT_OBJS)
  26.  
  27.  
  28. main.o: main.c
  29.     $(CC) $(CFLAGS) -c -o $@ $<
  30.  
  31. args.o: args.c
  32.     $(CC) $(CFLAGS) -c -o $@ $<
  33.  
  34. flist.o: flist.c
  35.     $(CC) $(CFLAGS) -c -o $@ $<
  36.  
  37. rules.o: rules.c
  38.     $(CC) $(CFLAGS) -c -o $@ $<
  39.  
  40. cvtparse.o: cvtparse.c
  41.     $(CC) $(CFLAGS) -c -o $@ $<
  42.  
  43. cvt.o: cvt.c
  44.     $(CC) $(CFLAGS) -c -o $@ $<
  45.  
  46. numdigits.o: numdigits.c
  47.     $(CC) $(CFLAGS) -c -o $@ $<
  48.  
  49. tfname.o: tfname.c
  50.     $(CC) $(CFLAGS) -c -o $@ $<
  51.  
  52. # needs amiga specific includes unless comiled w/ -UAMIGA
  53. filecopy.o: filecopy.c
  54.     $(CC) $(CFLAGS) -Iinclude: -c -o $@ $<
  55. #    $(CC) $(CFLAGS) -UAMIGA -c -o $@ $<
  56.  
  57. # getenv.o is needed for unregistered DICE's c.lib only
  58. # (uses ENV: instead of shell variables)
  59. #getenv.o: getenv.c
  60. #    $(CC) $(CFLAGS) -c -o $@ $<
  61.  
  62.  
  63. # *** / CLEAN / ***
  64.  
  65. .PHONY: clean
  66.  
  67. clean:
  68.     rm *.o cvt
  69.